package com.ld.security.common.shiro.anno;

import com.ld.security.common.shiro.constants.ShiroCacheConstants;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface CacheKey {

    String cacheName();

    String key();

    ShiroCacheConstants.cacheType cacheType();
}
